home *** CD-ROM | disk | FTP | other *** search
- /*
- * File: setjmp.h
- * ©1993-1995 metrowerks Inc. All rights reserved
- * Author: Andreas Hommel
- *
- * Content: Interface to setjmp/longjmp ANSI functions ...
- */
-
- #ifndef __SETJMP__
- #define __SETJMP__
-
- #pragma options align=mac68k
-
- #ifdef powerc
- typedef long *jmp_buf[70];
- #define setjmp(jmp_buf) __setjmp(jmp_buf)
- #else
- typedef long *jmp_buf[12]; /* D3-D7,PC,A2-A4,A6,SP,__local_destructor_chain */
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #ifdef powerc
- int __setjmp(jmp_buf);
- void longjmp(jmp_buf,int);
- #else
- int setjmp(jmp_buf);
- void longjmp(jmp_buf,int);
- #endif
- void __longjmp_ldestr(jmp_buf,int);
-
- #ifdef __cplusplus
- }
- #endif
-
- #pragma options align=reset
-
- #endif
-